package com.carleasoft.mps.cms.business.resource.bean.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 资源分类表
 * @author: yangHao
 * @createDate:2023/5/18
 * @description:
 */
@Data
@TableName("c_reasource_collect")
public class ReasourceCollectEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "ID", type = IdType.AUTO)
    /**
     * id
     */
    private Long id;


    /**
     * 所属库
     */
    private String library;

    /**
     * 分类编码
     */
    private String categoryCode;

    /**
     * 分类名字
     */
    private String  categoryName;

    /**
     * 创建人编码
     */
    private String createPersonCode;

    /**
     * 创建人名称
     */
    private String createPersonName;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 资源数量
     */
    @TableField(exist = false)
    private Integer sum=0;



}
